cmake_minimum_required(VERSION 3.0)

project(YOLO8CPPInference VERSION 0.1)


find_package(OpenCV 4.9 EXACT REQUIRED)
message("find ${OpenCV_VERSION}")

# find_package(Qt5 COMPONENTS Core Gui REQUIRED)
set(PROJECT_SOURCES
    main.cpp

    inference.h
    inference.cpp
)

add_executable(YOLO8CPPInference ${PROJECT_SOURCES})
target_link_libraries(YOLO8CPPInference ${OpenCV_LIBS})